﻿'   Emulator.vb
'   WireBear Awesemulator
'
'   Created by Chris Kent
'   Copyright 2011 WireBear. All rights reserved
'
#Region "License Information"
'   WireBear Awesemulator is free software: you can redistribute it and/or modify
'   it under the terms of the GNU General Public License as published by
'   the Free Software Foundation, either version 3 of the License, or
'   (at your option) any later version.
'
'   WireBear Awesemulator is distributed in the hope that it will be useful,
'   but WITHOUT ANY WARRANTY; without even the implied warranty of
'   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
'   GNU General Public License for more details.
'
'   You should have received a copy of the GNU General Public License
'   along with WireBear Awesemulator - License.txt
'   If not, see <http://www.gnu.org/licenses/>.
#End Region


Public Class Emulator
    Public Property ProcessName() As String
    Public Property Size() As Size
    Public Property ScreenPortrait() As Rectangle
    Public Property ScreenLandscapeLeft() As Rectangle
    Public Property ScreenLandscapeRight() As Rectangle
    Public Property Helpers() As Dictionary(Of Integer, ScaledLayoutHelper) = New Dictionary(Of Integer, ScaledLayoutHelper)()

    Public Function ScreenLandscape(ByVal useLandscapeLeft As Boolean) As Rectangle
        If useLandscapeLeft Then
            Return ScreenLandscapeLeft
        Else
            Return ScreenLandscapeRight
        End If
    End Function

End Class
